import { FieldMetadataType } from '~/generated-metadata/graphql';

export const DEFAULT_ICONS_BY_FIELD_TYPE: Record<FieldMetadataType, string> = {
  [FieldMetadataType.ADDRESS]: 'IconMap',
  [FieldMetadataType.BOOLEAN]: 'IconToggleLeft',
  [FieldMetadataType.CURRENCY]: 'IconMoneybag',
  [FieldMetadataType.DATE]: 'IconCalendarEvent',
  [FieldMetadataType.DATE_TIME]: 'IconCalendarClock',
  [FieldMetadataType.FULL_NAME]: 'IconUserCircle',
  [FieldMetadataType.MULTI_SELECT]: 'IconTags',
  [FieldMetadataType.NUMBER]: 'IconNumber9',
  [FieldMetadataType.RATING]: 'IconStar',
  [FieldMetadataType.RAW_JSON]: 'IconBraces',
  [FieldMetadataType.RELATION]: 'IconRelationOneToMany',
  [FieldMetadataType.MORPH_RELATION]: 'IconRelationOneToMany',
  [FieldMetadataType.SELECT]: 'IconTag',
  [FieldMetadataType.TEXT]: 'IconTypography',
  [FieldMetadataType.UUID]: 'IconId',
  [FieldMetadataType.ARRAY]: 'IconBracketsContain',
  [FieldMetadataType.EMAILS]: 'IconMail',
  [FieldMetadataType.LINKS]: 'IconWorld',
  [FieldMetadataType.PHONES]: 'IconPhone',
  [FieldMetadataType.ACTOR]: 'IconUsers',
  [FieldMetadataType.NUMERIC]: 'IconUsers',
  [FieldMetadataType.POSITION]: 'IconUsers',
  [FieldMetadataType.RICH_TEXT]: 'IconUsers',
  [FieldMetadataType.RICH_TEXT_V2]: 'IconUsers',
  [FieldMetadataType.TS_VECTOR]: 'IconUsers',
};
